package com.example.guethe.fireanalysisapp.data.beans;

/**
 * Created by 何建钦 on 2018/1/26.
 * 设备实体类
 */
public class Device {
    private String id;

    // 设备名称
    private String name;

    // 设备软件版本号
    private String bpVersion;

    // r1光功率阈值
    private Float bp_R1_P;

    // r2光功率阈值
    private Float bp_R2_P;

    // r1通道当前光功率
    private Float bp_R1_A_P;

    // r2通道当前光功率
    private Float bp_R2_A_P;

    // r1通道当前波长
    private Integer bp_R1_A_W;

    // r2通道当前波长
    private Integer bp_R2_A_W;

    // 设备电源状态
    private Integer bpPower;
    // 设备GSMS状态
    private Integer bpGsms;

    // 设备状态
    private String status;
    // 设备分组id
    private String catalogId;
    // 设备uuid
    private String deviceUuid;
    // 创建时间
    private Long createTime;
    // 更新时间
    private Long updateTime;
    // sim 卡号
    private String simNumber;
    // 地理位置信息
    private String location;
    // 地理位置GPS经纬度
    private String gps;

    public Device(String id, String name, String bpVersion, Float bp_R1_P, Float bp_R2_P, Float bp_R1_A_P, Float bp_R2_A_P, Integer bp_R1_A_W, Integer bp_R2_A_W, Integer bpPower, Integer bpGsms, String status, String catalogId, String deviceUuid, Long createTime, Long updateTime, String simNumber, String location, String gps) {
        this.id = id;
        this.name = name;
        this.bpVersion = bpVersion;
        this.bp_R1_P = bp_R1_P;
        this.bp_R2_P = bp_R2_P;
        this.bp_R1_A_P = bp_R1_A_P;
        this.bp_R2_A_P = bp_R2_A_P;
        this.bp_R1_A_W = bp_R1_A_W;
        this.bp_R2_A_W = bp_R2_A_W;
        this.bpPower = bpPower;
        this.bpGsms = bpGsms;
        this.status = status;
        this.catalogId = catalogId;
        this.deviceUuid = deviceUuid;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.simNumber = simNumber;
        this.location = location;
        this.gps = gps;
    }


    public Device(){}

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBpVersion() {
        return bpVersion;
    }

    public void setBpVersion(String bpVersion) {
        this.bpVersion = bpVersion;
    }

    public Float getBp_R1_P() {
        return bp_R1_P;
    }

    public void setBp_R1_P(Float bp_R1_P) {
        this.bp_R1_P = bp_R1_P;
    }

    public Float getBp_R2_P() {
        return bp_R2_P;
    }

    public void setBp_R2_P(Float bp_R2_P) {
        this.bp_R2_P = bp_R2_P;
    }

    public Float getBp_R1_A_P() {
        return bp_R1_A_P;
    }

    public void setBp_R1_A_P(Float bp_R1_A_P) {
        this.bp_R1_A_P = bp_R1_A_P;
    }

    public Float getBp_R2_A_P() {
        return bp_R2_A_P;
    }

    public void setBp_R2_A_P(Float bp_R2_A_P) {
        this.bp_R2_A_P = bp_R2_A_P;
    }

    public Integer getBp_R1_A_W() {
        return bp_R1_A_W;
    }

    public void setBp_R1_A_W(Integer bp_R1_A_W) {
        this.bp_R1_A_W = bp_R1_A_W;
    }

    public Integer getBp_R2_A_W() {
        return bp_R2_A_W;
    }

    public void setBp_R2_A_W(Integer bp_R2_A_W) {
        this.bp_R2_A_W = bp_R2_A_W;
    }

    public Integer getBpPower() {
        return bpPower;
    }

    public void setBpPower(Integer bpPower) {
        this.bpPower = bpPower;
    }

    public Integer getBpGsms() {
        return bpGsms;
    }

    public void setBpGsms(Integer bpGsms) {
        this.bpGsms = bpGsms;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId;
    }

    public String getDeviceUuid() {
        return deviceUuid;
    }

    public void setDeviceUuid(String deviceUuid) {
        this.deviceUuid = deviceUuid;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getSimNumber() {
        return simNumber;
    }

    public void setSimNumber(String simNumber) {
        this.simNumber = simNumber;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getGps() {
        return gps;
    }

    public void setGps(String gps) {
        this.gps = gps;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }
}
